package com.example.dw.apptest1;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;

public class Page65 extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.page65);
    }


    public void choose(View view) {
        Intent intent = getIntent();
        switch (view.getId()) {
            case R.id.img641:
                Log.e("进来","yes1");
                intent.putExtra("back_img", R.drawable.img641);
                break;
            case R.id.img642:
                Log.e("进来","yes1");
                intent.putExtra("back_img", R.drawable.img642);
                break;
            case R.id.img643:
                Log.e("进来","yes1");
                intent.putExtra("back_img", R.drawable.img643);
                break;
            case R.id.img644:
                Log.e("进来","yes1");
                intent.putExtra("back_img", R.drawable.img644);
                break;
        }
        setResult(0x177,intent);
        finish();
    }
}
